package com.btshop.goods.mapper;

import com.btshop.goods.pojo.StockBack;
import com.btshop.goods.pojo.StockBackExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockBackMapper {
    long countByExample(StockBackExample example);

    int deleteByExample(StockBackExample example);

    int deleteByPrimaryKey(@Param("orderId") Long orderId, @Param("skuId") Long skuId);

    int insert(StockBack record);

    int insertSelective(StockBack record);

    List<StockBack> selectByExample(StockBackExample example);

    StockBack selectByPrimaryKey(@Param("orderId") Long orderId, @Param("skuId") Long skuId);

    int updateByExampleSelective(@Param("record") StockBack record, @Param("example") StockBackExample example);

    int updateByExample(@Param("record") StockBack record, @Param("example") StockBackExample example);

    int updateByPrimaryKeySelective(StockBack record);

    int updateByPrimaryKey(StockBack record);
}